package com.quik.common;

import java.util.ArrayList;
import java.util.List;

import com.quik.entity.SysSystemCode;

public class SysSystemCodeUtils {

	public static List<SysSystemCode> getTokenStatusList(){
		List<SysSystemCode> list = new ArrayList<SysSystemCode>();
		list.add(createSystemCode(1, "free","空闲"));
		list.add(createSystemCode(2, "used","使用中"));
		return list;
		
	}
	public static List<SysSystemCode> getCallTurnList(){
		List<SysSystemCode> list = new ArrayList<SysSystemCode>();
		list.add(createSystemCode(1, "lunCall","轮钟"));
		list.add(createSystemCode(2, "dianCall","点钟"));
		list.add(createSystemCode(3, "cuoCall","CALL钟"));
		list.add(createSystemCode(4, "jiaCall","加钟"));
		return list;
		
	}
	private static SysSystemCode createSystemCode(Integer id,String code, String name){
		SysSystemCode sysCode = new SysSystemCode();
		sysCode.setId(id);
		sysCode.setCode(code);
		sysCode.setName(name);
		return sysCode;
	}
}
